<h2>Lista klientów</h2>
<table id="users-main-page-table">
<tr>
	<th></th>
	<th><a href="{$smarty.request.HTTP_URL}{$page},Crm,employees.html">Pracownicy</a></th>
	<th id="selected-viev"><a href="{$smarty.request.HTTP_URL}{$page},Crm,clients.html">Klienci</a></th>
	<th><a href="{$smarty.request.HTTP_URL}{$page},Crm,projects.html">Projekty</a></th>
	<th><a href="{$smarty.request.HTTP_URL}{$page},Crm,products.html">Produkty</a></th>
	<th><a href="{$smarty.request.HTTP_URL}{$page},Crm,documents.html">Dokumenty</a></th>
	<th><a href="{$smarty.request.HTTP_URL}{$page},Crm,calendar.html">Kalendarz</a></th>
</tr>
{section name=id loop=$users}
<tr>
	<td><a href="{$smarty.request.HTTP_URL}{$page},Crm,clients__all_informations,{$users[id].id}.html">{$users[id].nazwisko} {$users[id].imie}</a></td>
	<td><a href="{$smarty.request.HTTP_URL}{$page},Crm,clients__employees,{$users[id].id}.html">Pracownicy</a></td>
	<td>{if $users[id].stanowisko eq 'u'}klient{elseif $users[id].stanowisko eq 'a'}administrator{/if}</td>	
	<td><a href="#">Projekty</a></td>
	<td><a href="#">Produkty</a></td>
	<td><a href="#">Dokumenty</a></td>
	<td><a href="#">Kalendarz</a></td>
</tr>
{/section}
</table>